package com.example.reception.entity;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * author: adnaan
 * create: 2023-10-30 20:40
 * Description:
 */
@Document("address")
public class Address {

    private String id;
    private String street;
    private String detail;
    private String zipCode;
    private String recipient;
    private String rePhone;

    private String userId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public String getRePhone() {
        return rePhone;
    }

    public void setRePhone(String rePhone) {
        this.rePhone = rePhone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id='" + id + '\'' +
                ", street='" + street + '\'' +
                ", detail='" + detail + '\'' +
                ", zipCode='" + zipCode + '\'' +
                ", recipient='" + recipient + '\'' +
                ", rePhone='" + rePhone + '\'' +
                ", userId='" + userId + '\'' +
                '}';
    }
}
